/*
 * Copyright 2023 AntGroup CO., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 */

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: analytics.proto

package com.antgroup.geaflow.rpc.proto;

public final class Analytics {
  private Analytics() {}
  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      com.google.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (com.google.protobuf.ExtensionRegistryLite) registry);
  }
  public interface QueryRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:QueryRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string query = 1;</code>
     * @return The query.
     */
    java.lang.String getQuery();
    /**
     * <code>string query = 1;</code>
     * @return The bytes for query.
     */
    com.google.protobuf.ByteString
        getQueryBytes();

    /**
     * <code>bytes queryConfig = 2;</code>
     * @return The queryConfig.
     */
    com.google.protobuf.ByteString getQueryConfig();
  }
  /**
   * Protobuf type {@code QueryRequest}
   */
  public static final class QueryRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QueryRequest)
      QueryRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QueryRequest.newBuilder() to construct.
    private QueryRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QueryRequest() {
      query_ = "";
      queryConfig_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new QueryRequest();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QueryRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              query_ = s;
              break;
            }
            case 18: {

              queryConfig_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.Builder.class);
    }

    public static final int QUERY_FIELD_NUMBER = 1;
    private volatile java.lang.Object query_;
    /**
     * <code>string query = 1;</code>
     * @return The query.
     */
    @java.lang.Override
    public java.lang.String getQuery() {
      java.lang.Object ref = query_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        query_ = s;
        return s;
      }
    }
    /**
     * <code>string query = 1;</code>
     * @return The bytes for query.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getQueryBytes() {
      java.lang.Object ref = query_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        query_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    public static final int QUERYCONFIG_FIELD_NUMBER = 2;
    private com.google.protobuf.ByteString queryConfig_;
    /**
     * <code>bytes queryConfig = 2;</code>
     * @return The queryConfig.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getQueryConfig() {
      return queryConfig_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getQueryBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, query_);
      }
      if (!queryConfig_.isEmpty()) {
        output.writeBytes(2, queryConfig_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getQueryBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, query_);
      }
      if (!queryConfig_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(2, queryConfig_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest)) {
        return super.equals(obj);
      }
      com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest other = (com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest) obj;

      if (!getQuery()
          .equals(other.getQuery())) return false;
      if (!getQueryConfig()
          .equals(other.getQueryConfig())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + QUERY_FIELD_NUMBER;
      hash = (53 * hash) + getQuery().hashCode();
      hash = (37 * hash) + QUERYCONFIG_FIELD_NUMBER;
      hash = (53 * hash) + getQueryConfig().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code QueryRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:QueryRequest)
        com.antgroup.geaflow.rpc.proto.Analytics.QueryRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.Builder.class);
      }

      // Construct using com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        query_ = "";

        queryConfig_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryRequest_descriptor;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest getDefaultInstanceForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest build() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest buildPartial() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest result = new com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest(this);
        result.query_ = query_;
        result.queryConfig_ = queryConfig_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest) {
          return mergeFrom((com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest other) {
        if (other == com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest.getDefaultInstance()) return this;
        if (!other.getQuery().isEmpty()) {
          query_ = other.query_;
          onChanged();
        }
        if (other.getQueryConfig() != com.google.protobuf.ByteString.EMPTY) {
          setQueryConfig(other.getQueryConfig());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object query_ = "";
      /**
       * <code>string query = 1;</code>
       * @return The query.
       */
      public java.lang.String getQuery() {
        java.lang.Object ref = query_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          query_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string query = 1;</code>
       * @return The bytes for query.
       */
      public com.google.protobuf.ByteString
          getQueryBytes() {
        java.lang.Object ref = query_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          query_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string query = 1;</code>
       * @param value The query to set.
       * @return This builder for chaining.
       */
      public Builder setQuery(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        query_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string query = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearQuery() {
        
        query_ = getDefaultInstance().getQuery();
        onChanged();
        return this;
      }
      /**
       * <code>string query = 1;</code>
       * @param value The bytes for query to set.
       * @return This builder for chaining.
       */
      public Builder setQueryBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        query_ = value;
        onChanged();
        return this;
      }

      private com.google.protobuf.ByteString queryConfig_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <code>bytes queryConfig = 2;</code>
       * @return The queryConfig.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getQueryConfig() {
        return queryConfig_;
      }
      /**
       * <code>bytes queryConfig = 2;</code>
       * @param value The queryConfig to set.
       * @return This builder for chaining.
       */
      public Builder setQueryConfig(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        queryConfig_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>bytes queryConfig = 2;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryConfig() {
        
        queryConfig_ = getDefaultInstance().getQueryConfig();
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:QueryRequest)
    }

    // @@protoc_insertion_point(class_scope:QueryRequest)
    private static final com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest();
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<QueryRequest>
        PARSER = new com.google.protobuf.AbstractParser<QueryRequest>() {
      @java.lang.Override
      public QueryRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new QueryRequest(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<QueryRequest> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<QueryRequest> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface QueryIdOrBuilder extends
      // @@protoc_insertion_point(interface_extends:QueryId)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <code>string queryId = 1;</code>
     * @return The queryId.
     */
    java.lang.String getQueryId();
    /**
     * <code>string queryId = 1;</code>
     * @return The bytes for queryId.
     */
    com.google.protobuf.ByteString
        getQueryIdBytes();
  }
  /**
   * Protobuf type {@code QueryId}
   */
  public static final class QueryId extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QueryId)
      QueryIdOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QueryId.newBuilder() to construct.
    private QueryId(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QueryId() {
      queryId_ = "";
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new QueryId();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QueryId(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              java.lang.String s = input.readStringRequireUtf8();

              queryId_ = s;
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryId_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryId_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.antgroup.geaflow.rpc.proto.Analytics.QueryId.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder.class);
    }

    public static final int QUERYID_FIELD_NUMBER = 1;
    private volatile java.lang.Object queryId_;
    /**
     * <code>string queryId = 1;</code>
     * @return The queryId.
     */
    @java.lang.Override
    public java.lang.String getQueryId() {
      java.lang.Object ref = queryId_;
      if (ref instanceof java.lang.String) {
        return (java.lang.String) ref;
      } else {
        com.google.protobuf.ByteString bs = 
            (com.google.protobuf.ByteString) ref;
        java.lang.String s = bs.toStringUtf8();
        queryId_ = s;
        return s;
      }
    }
    /**
     * <code>string queryId = 1;</code>
     * @return The bytes for queryId.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString
        getQueryIdBytes() {
      java.lang.Object ref = queryId_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b = 
            com.google.protobuf.ByteString.copyFromUtf8(
                (java.lang.String) ref);
        queryId_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!getQueryIdBytes().isEmpty()) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, queryId_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!getQueryIdBytes().isEmpty()) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, queryId_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryId)) {
        return super.equals(obj);
      }
      com.antgroup.geaflow.rpc.proto.Analytics.QueryId other = (com.antgroup.geaflow.rpc.proto.Analytics.QueryId) obj;

      if (!getQueryId()
          .equals(other.getQueryId())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + QUERYID_FIELD_NUMBER;
      hash = (53 * hash) + getQueryId().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.antgroup.geaflow.rpc.proto.Analytics.QueryId prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code QueryId}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:QueryId)
        com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryId_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryId_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.antgroup.geaflow.rpc.proto.Analytics.QueryId.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder.class);
      }

      // Construct using com.antgroup.geaflow.rpc.proto.Analytics.QueryId.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        queryId_ = "";

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryId_descriptor;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryId getDefaultInstanceForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.QueryId.getDefaultInstance();
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryId build() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryId result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryId buildPartial() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryId result = new com.antgroup.geaflow.rpc.proto.Analytics.QueryId(this);
        result.queryId_ = queryId_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryId) {
          return mergeFrom((com.antgroup.geaflow.rpc.proto.Analytics.QueryId)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.antgroup.geaflow.rpc.proto.Analytics.QueryId other) {
        if (other == com.antgroup.geaflow.rpc.proto.Analytics.QueryId.getDefaultInstance()) return this;
        if (!other.getQueryId().isEmpty()) {
          queryId_ = other.queryId_;
          onChanged();
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryId parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.antgroup.geaflow.rpc.proto.Analytics.QueryId) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private java.lang.Object queryId_ = "";
      /**
       * <code>string queryId = 1;</code>
       * @return The queryId.
       */
      public java.lang.String getQueryId() {
        java.lang.Object ref = queryId_;
        if (!(ref instanceof java.lang.String)) {
          com.google.protobuf.ByteString bs =
              (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          queryId_ = s;
          return s;
        } else {
          return (java.lang.String) ref;
        }
      }
      /**
       * <code>string queryId = 1;</code>
       * @return The bytes for queryId.
       */
      public com.google.protobuf.ByteString
          getQueryIdBytes() {
        java.lang.Object ref = queryId_;
        if (ref instanceof String) {
          com.google.protobuf.ByteString b = 
              com.google.protobuf.ByteString.copyFromUtf8(
                  (java.lang.String) ref);
          queryId_ = b;
          return b;
        } else {
          return (com.google.protobuf.ByteString) ref;
        }
      }
      /**
       * <code>string queryId = 1;</code>
       * @param value The queryId to set.
       * @return This builder for chaining.
       */
      public Builder setQueryId(
          java.lang.String value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        queryId_ = value;
        onChanged();
        return this;
      }
      /**
       * <code>string queryId = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryId() {
        
        queryId_ = getDefaultInstance().getQueryId();
        onChanged();
        return this;
      }
      /**
       * <code>string queryId = 1;</code>
       * @param value The bytes for queryId to set.
       * @return This builder for chaining.
       */
      public Builder setQueryIdBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  checkByteStringIsUtf8(value);
        
        queryId_ = value;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:QueryId)
    }

    // @@protoc_insertion_point(class_scope:QueryId)
    private static final com.antgroup.geaflow.rpc.proto.Analytics.QueryId DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.antgroup.geaflow.rpc.proto.Analytics.QueryId();
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryId getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<QueryId>
        PARSER = new com.google.protobuf.AbstractParser<QueryId>() {
      @java.lang.Override
      public QueryId parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new QueryId(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<QueryId> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<QueryId> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryId getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface QueryCancelRequestOrBuilder extends
      // @@protoc_insertion_point(interface_extends:QueryCancelRequest)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The query which will be cancelled.
     * </pre>
     *
     * <code>.QueryId queryId = 1;</code>
     * @return Whether the queryId field is set.
     */
    boolean hasQueryId();
    /**
     * <pre>
     * The query which will be cancelled.
     * </pre>
     *
     * <code>.QueryId queryId = 1;</code>
     * @return The queryId.
     */
    com.antgroup.geaflow.rpc.proto.Analytics.QueryId getQueryId();
    /**
     * <pre>
     * The query which will be cancelled.
     * </pre>
     *
     * <code>.QueryId queryId = 1;</code>
     */
    com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder getQueryIdOrBuilder();
  }
  /**
   * Protobuf type {@code QueryCancelRequest}
   */
  public static final class QueryCancelRequest extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QueryCancelRequest)
      QueryCancelRequestOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QueryCancelRequest.newBuilder() to construct.
    private QueryCancelRequest(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QueryCancelRequest() {
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new QueryCancelRequest();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QueryCancelRequest(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {
              com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder subBuilder = null;
              if (queryId_ != null) {
                subBuilder = queryId_.toBuilder();
              }
              queryId_ = input.readMessage(com.antgroup.geaflow.rpc.proto.Analytics.QueryId.parser(), extensionRegistry);
              if (subBuilder != null) {
                subBuilder.mergeFrom(queryId_);
                queryId_ = subBuilder.buildPartial();
              }

              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelRequest_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelRequest_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.Builder.class);
    }

    public static final int QUERYID_FIELD_NUMBER = 1;
    private com.antgroup.geaflow.rpc.proto.Analytics.QueryId queryId_;
    /**
     * <pre>
     * The query which will be cancelled.
     * </pre>
     *
     * <code>.QueryId queryId = 1;</code>
     * @return Whether the queryId field is set.
     */
    @java.lang.Override
    public boolean hasQueryId() {
      return queryId_ != null;
    }
    /**
     * <pre>
     * The query which will be cancelled.
     * </pre>
     *
     * <code>.QueryId queryId = 1;</code>
     * @return The queryId.
     */
    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryId getQueryId() {
      return queryId_ == null ? com.antgroup.geaflow.rpc.proto.Analytics.QueryId.getDefaultInstance() : queryId_;
    }
    /**
     * <pre>
     * The query which will be cancelled.
     * </pre>
     *
     * <code>.QueryId queryId = 1;</code>
     */
    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder getQueryIdOrBuilder() {
      return getQueryId();
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (queryId_ != null) {
        output.writeMessage(1, getQueryId());
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (queryId_ != null) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getQueryId());
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest)) {
        return super.equals(obj);
      }
      com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest other = (com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest) obj;

      if (hasQueryId() != other.hasQueryId()) return false;
      if (hasQueryId()) {
        if (!getQueryId()
            .equals(other.getQueryId())) return false;
      }
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasQueryId()) {
        hash = (37 * hash) + QUERYID_FIELD_NUMBER;
        hash = (53 * hash) + getQueryId().hashCode();
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code QueryCancelRequest}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:QueryCancelRequest)
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequestOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelRequest_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelRequest_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.Builder.class);
      }

      // Construct using com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        if (queryIdBuilder_ == null) {
          queryId_ = null;
        } else {
          queryId_ = null;
          queryIdBuilder_ = null;
        }
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelRequest_descriptor;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest getDefaultInstanceForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.getDefaultInstance();
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest build() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest buildPartial() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest result = new com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest(this);
        if (queryIdBuilder_ == null) {
          result.queryId_ = queryId_;
        } else {
          result.queryId_ = queryIdBuilder_.build();
        }
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest) {
          return mergeFrom((com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest other) {
        if (other == com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest.getDefaultInstance()) return this;
        if (other.hasQueryId()) {
          mergeQueryId(other.getQueryId());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.antgroup.geaflow.rpc.proto.Analytics.QueryId queryId_;
      private com.google.protobuf.SingleFieldBuilderV3<
          com.antgroup.geaflow.rpc.proto.Analytics.QueryId, com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder, com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder> queryIdBuilder_;
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       * @return Whether the queryId field is set.
       */
      public boolean hasQueryId() {
        return queryIdBuilder_ != null || queryId_ != null;
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       * @return The queryId.
       */
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryId getQueryId() {
        if (queryIdBuilder_ == null) {
          return queryId_ == null ? com.antgroup.geaflow.rpc.proto.Analytics.QueryId.getDefaultInstance() : queryId_;
        } else {
          return queryIdBuilder_.getMessage();
        }
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      public Builder setQueryId(com.antgroup.geaflow.rpc.proto.Analytics.QueryId value) {
        if (queryIdBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          queryId_ = value;
          onChanged();
        } else {
          queryIdBuilder_.setMessage(value);
        }

        return this;
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      public Builder setQueryId(
          com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder builderForValue) {
        if (queryIdBuilder_ == null) {
          queryId_ = builderForValue.build();
          onChanged();
        } else {
          queryIdBuilder_.setMessage(builderForValue.build());
        }

        return this;
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      public Builder mergeQueryId(com.antgroup.geaflow.rpc.proto.Analytics.QueryId value) {
        if (queryIdBuilder_ == null) {
          if (queryId_ != null) {
            queryId_ =
              com.antgroup.geaflow.rpc.proto.Analytics.QueryId.newBuilder(queryId_).mergeFrom(value).buildPartial();
          } else {
            queryId_ = value;
          }
          onChanged();
        } else {
          queryIdBuilder_.mergeFrom(value);
        }

        return this;
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      public Builder clearQueryId() {
        if (queryIdBuilder_ == null) {
          queryId_ = null;
          onChanged();
        } else {
          queryId_ = null;
          queryIdBuilder_ = null;
        }

        return this;
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder getQueryIdBuilder() {
        
        onChanged();
        return getQueryIdFieldBuilder().getBuilder();
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder getQueryIdOrBuilder() {
        if (queryIdBuilder_ != null) {
          return queryIdBuilder_.getMessageOrBuilder();
        } else {
          return queryId_ == null ?
              com.antgroup.geaflow.rpc.proto.Analytics.QueryId.getDefaultInstance() : queryId_;
        }
      }
      /**
       * <pre>
       * The query which will be cancelled.
       * </pre>
       *
       * <code>.QueryId queryId = 1;</code>
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          com.antgroup.geaflow.rpc.proto.Analytics.QueryId, com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder, com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder> 
          getQueryIdFieldBuilder() {
        if (queryIdBuilder_ == null) {
          queryIdBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              com.antgroup.geaflow.rpc.proto.Analytics.QueryId, com.antgroup.geaflow.rpc.proto.Analytics.QueryId.Builder, com.antgroup.geaflow.rpc.proto.Analytics.QueryIdOrBuilder>(
                  getQueryId(),
                  getParentForChildren(),
                  isClean());
          queryId_ = null;
        }
        return queryIdBuilder_;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:QueryCancelRequest)
    }

    // @@protoc_insertion_point(class_scope:QueryCancelRequest)
    private static final com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest();
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<QueryCancelRequest>
        PARSER = new com.google.protobuf.AbstractParser<QueryCancelRequest>() {
      @java.lang.Override
      public QueryCancelRequest parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new QueryCancelRequest(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<QueryCancelRequest> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<QueryCancelRequest> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelRequest getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface QueryResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:QueryResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The query result.
     * </pre>
     *
     * <code>bytes queryResult = 1;</code>
     * @return The queryResult.
     */
    com.google.protobuf.ByteString getQueryResult();
  }
  /**
   * <pre>
   * Query result
   * </pre>
   *
   * Protobuf type {@code QueryResult}
   */
  public static final class QueryResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QueryResult)
      QueryResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QueryResult.newBuilder() to construct.
    private QueryResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QueryResult() {
      queryResult_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new QueryResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QueryResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {

              queryResult_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryResult_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.Builder.class);
    }

    public static final int QUERYRESULT_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString queryResult_;
    /**
     * <pre>
     * The query result.
     * </pre>
     *
     * <code>bytes queryResult = 1;</code>
     * @return The queryResult.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getQueryResult() {
      return queryResult_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!queryResult_.isEmpty()) {
        output.writeBytes(1, queryResult_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!queryResult_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, queryResult_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryResult)) {
        return super.equals(obj);
      }
      com.antgroup.geaflow.rpc.proto.Analytics.QueryResult other = (com.antgroup.geaflow.rpc.proto.Analytics.QueryResult) obj;

      if (!getQueryResult()
          .equals(other.getQueryResult())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + QUERYRESULT_FIELD_NUMBER;
      hash = (53 * hash) + getQueryResult().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.antgroup.geaflow.rpc.proto.Analytics.QueryResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Query result
     * </pre>
     *
     * Protobuf type {@code QueryResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:QueryResult)
        com.antgroup.geaflow.rpc.proto.Analytics.QueryResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryResult_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.Builder.class);
      }

      // Construct using com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        queryResult_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryResult_descriptor;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryResult getDefaultInstanceForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.getDefaultInstance();
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryResult build() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryResult result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryResult buildPartial() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryResult result = new com.antgroup.geaflow.rpc.proto.Analytics.QueryResult(this);
        result.queryResult_ = queryResult_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryResult) {
          return mergeFrom((com.antgroup.geaflow.rpc.proto.Analytics.QueryResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.antgroup.geaflow.rpc.proto.Analytics.QueryResult other) {
        if (other == com.antgroup.geaflow.rpc.proto.Analytics.QueryResult.getDefaultInstance()) return this;
        if (other.getQueryResult() != com.google.protobuf.ByteString.EMPTY) {
          setQueryResult(other.getQueryResult());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.antgroup.geaflow.rpc.proto.Analytics.QueryResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.google.protobuf.ByteString queryResult_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       * The query result.
       * </pre>
       *
       * <code>bytes queryResult = 1;</code>
       * @return The queryResult.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getQueryResult() {
        return queryResult_;
      }
      /**
       * <pre>
       * The query result.
       * </pre>
       *
       * <code>bytes queryResult = 1;</code>
       * @param value The queryResult to set.
       * @return This builder for chaining.
       */
      public Builder setQueryResult(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        queryResult_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The query result.
       * </pre>
       *
       * <code>bytes queryResult = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearQueryResult() {
        
        queryResult_ = getDefaultInstance().getQueryResult();
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:QueryResult)
    }

    // @@protoc_insertion_point(class_scope:QueryResult)
    private static final com.antgroup.geaflow.rpc.proto.Analytics.QueryResult DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.antgroup.geaflow.rpc.proto.Analytics.QueryResult();
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<QueryResult>
        PARSER = new com.google.protobuf.AbstractParser<QueryResult>() {
      @java.lang.Override
      public QueryResult parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new QueryResult(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<QueryResult> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<QueryResult> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface QueryCancelResultOrBuilder extends
      // @@protoc_insertion_point(interface_extends:QueryCancelResult)
      com.google.protobuf.MessageOrBuilder {

    /**
     * <pre>
     * The cancel result.
     * </pre>
     *
     * <code>bytes cancelResult = 1;</code>
     * @return The cancelResult.
     */
    com.google.protobuf.ByteString getCancelResult();
  }
  /**
   * <pre>
   * Query cancel result
   * </pre>
   *
   * Protobuf type {@code QueryCancelResult}
   */
  public static final class QueryCancelResult extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:QueryCancelResult)
      QueryCancelResultOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use QueryCancelResult.newBuilder() to construct.
    private QueryCancelResult(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) {
      super(builder);
    }
    private QueryCancelResult() {
      cancelResult_ = com.google.protobuf.ByteString.EMPTY;
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new QueryCancelResult();
    }

    @java.lang.Override
    public final com.google.protobuf.UnknownFieldSet
    getUnknownFields() {
      return this.unknownFields;
    }
    private QueryCancelResult(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      this();
      if (extensionRegistry == null) {
        throw new java.lang.NullPointerException();
      }
      com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            case 10: {

              cancelResult_ = input.readBytes();
              break;
            }
            default: {
              if (!parseUnknownField(
                  input, unknownFields, extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
          }
        }
      } catch (com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.google.protobuf.InvalidProtocolBufferException(
            e).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelResult_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelResult_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.Builder.class);
    }

    public static final int CANCELRESULT_FIELD_NUMBER = 1;
    private com.google.protobuf.ByteString cancelResult_;
    /**
     * <pre>
     * The cancel result.
     * </pre>
     *
     * <code>bytes cancelResult = 1;</code>
     * @return The cancelResult.
     */
    @java.lang.Override
    public com.google.protobuf.ByteString getCancelResult() {
      return cancelResult_;
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (!cancelResult_.isEmpty()) {
        output.writeBytes(1, cancelResult_);
      }
      unknownFields.writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!cancelResult_.isEmpty()) {
        size += com.google.protobuf.CodedOutputStream
          .computeBytesSize(1, cancelResult_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult)) {
        return super.equals(obj);
      }
      com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult other = (com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult) obj;

      if (!getCancelResult()
          .equals(other.getCancelResult())) return false;
      if (!unknownFields.equals(other.unknownFields)) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      hash = (37 * hash) + CANCELRESULT_FIELD_NUMBER;
      hash = (53 * hash) + getCancelResult().hashCode();
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * <pre>
     * Query cancel result
     * </pre>
     *
     * Protobuf type {@code QueryCancelResult}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder<Builder> implements
        // @@protoc_insertion_point(builder_implements:QueryCancelResult)
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResultOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelResult_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelResult_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.class, com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.Builder.class);
      }

      // Construct using com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        cancelResult_ = com.google.protobuf.ByteString.EMPTY;

        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.internal_static_QueryCancelResult_descriptor;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult getDefaultInstanceForType() {
        return com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.getDefaultInstance();
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult build() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult buildPartial() {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult result = new com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult(this);
        result.cancelResult_ = cancelResult_;
        onBuilt();
        return result;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult) {
          return mergeFrom((com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult other) {
        if (other == com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult.getDefaultInstance()) return this;
        if (other.getCancelResult() != com.google.protobuf.ByteString.EMPTY) {
          setCancelResult(other.getCancelResult());
        }
        this.mergeUnknownFields(other.unknownFields);
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }

      private com.google.protobuf.ByteString cancelResult_ = com.google.protobuf.ByteString.EMPTY;
      /**
       * <pre>
       * The cancel result.
       * </pre>
       *
       * <code>bytes cancelResult = 1;</code>
       * @return The cancelResult.
       */
      @java.lang.Override
      public com.google.protobuf.ByteString getCancelResult() {
        return cancelResult_;
      }
      /**
       * <pre>
       * The cancel result.
       * </pre>
       *
       * <code>bytes cancelResult = 1;</code>
       * @param value The cancelResult to set.
       * @return This builder for chaining.
       */
      public Builder setCancelResult(com.google.protobuf.ByteString value) {
        if (value == null) {
    throw new NullPointerException();
  }
  
        cancelResult_ = value;
        onChanged();
        return this;
      }
      /**
       * <pre>
       * The cancel result.
       * </pre>
       *
       * <code>bytes cancelResult = 1;</code>
       * @return This builder for chaining.
       */
      public Builder clearCancelResult() {
        
        cancelResult_ = getDefaultInstance().getCancelResult();
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:QueryCancelResult)
    }

    // @@protoc_insertion_point(class_scope:QueryCancelResult)
    private static final com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult();
    }

    public static com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser<QueryCancelResult>
        PARSER = new com.google.protobuf.AbstractParser<QueryCancelResult>() {
      @java.lang.Override
      public QueryCancelResult parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        return new QueryCancelResult(input, extensionRegistry);
      }
    };

    public static com.google.protobuf.Parser<QueryCancelResult> parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser<QueryCancelResult> getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public com.antgroup.geaflow.rpc.proto.Analytics.QueryCancelResult getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QueryRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QueryRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QueryId_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QueryId_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QueryCancelRequest_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QueryCancelRequest_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QueryResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QueryResult_fieldAccessorTable;
  private static final com.google.protobuf.Descriptors.Descriptor
    internal_static_QueryCancelResult_descriptor;
  private static final 
    com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internal_static_QueryCancelResult_fieldAccessorTable;

  public static com.google.protobuf.Descriptors.FileDescriptor
      getDescriptor() {
    return descriptor;
  }
  private static  com.google.protobuf.Descriptors.FileDescriptor
      descriptor;
  static {
    java.lang.String[] descriptorData = {
      "\n\017analytics.proto\032\033google/protobuf/empty" +
      ".proto\"2\n\014QueryRequest\022\r\n\005query\030\001 \001(\t\022\023\n" +
      "\013queryConfig\030\002 \001(\014\"\032\n\007QueryId\022\017\n\007queryId" +
      "\030\001 \001(\t\"/\n\022QueryCancelRequest\022\031\n\007queryId\030" +
      "\001 \001(\0132\010.QueryId\"\"\n\013QueryResult\022\023\n\013queryR" +
      "esult\030\001 \001(\014\")\n\021QueryCancelResult\022\024\n\014canc" +
      "elResult\030\001 \001(\0142{\n\020AnalyticsService\022-\n\014ex" +
      "ecuteQuery\022\r.QueryRequest\032\014.QueryResult\"" +
      "\000\0228\n\013cancelQuery\022\023.QueryCancelRequest\032\022." +
      "QueryCancelResult\"\000B\"\n\036com.antgroup.geaf" +
      "low.rpc.protoP\000b\006proto3"
    };
    descriptor = com.google.protobuf.Descriptors.FileDescriptor
      .internalBuildGeneratedFileFrom(descriptorData,
        new com.google.protobuf.Descriptors.FileDescriptor[] {
          com.google.protobuf.EmptyProto.getDescriptor(),
        });
    internal_static_QueryRequest_descriptor =
      getDescriptor().getMessageTypes().get(0);
    internal_static_QueryRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QueryRequest_descriptor,
        new java.lang.String[] { "Query", "QueryConfig", });
    internal_static_QueryId_descriptor =
      getDescriptor().getMessageTypes().get(1);
    internal_static_QueryId_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QueryId_descriptor,
        new java.lang.String[] { "QueryId", });
    internal_static_QueryCancelRequest_descriptor =
      getDescriptor().getMessageTypes().get(2);
    internal_static_QueryCancelRequest_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QueryCancelRequest_descriptor,
        new java.lang.String[] { "QueryId", });
    internal_static_QueryResult_descriptor =
      getDescriptor().getMessageTypes().get(3);
    internal_static_QueryResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QueryResult_descriptor,
        new java.lang.String[] { "QueryResult", });
    internal_static_QueryCancelResult_descriptor =
      getDescriptor().getMessageTypes().get(4);
    internal_static_QueryCancelResult_fieldAccessorTable = new
      com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
        internal_static_QueryCancelResult_descriptor,
        new java.lang.String[] { "CancelResult", });
    com.google.protobuf.EmptyProto.getDescriptor();
  }

  // @@protoc_insertion_point(outer_class_scope)
}
